package iotwisp.base.jwt;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

import lombok.Data;

@Configuration
@ConfigurationProperties(prefix = "jwt", ignoreUnknownFields = false)
@Data
@Component
public class JwtConfig {

    private String secret;
    private Integer expire;

}
